export function getBirthDate(time) {
    const dayTime = 60 * 60 * 1000 * 24
    if (time < dayTime) {
        return {
            text: '今',
            color: '#FA3F51 '
        }
    } else if (time < dayTime * 2) {
        return {
            text: '明天',
            color: '#FFAA1D'
        }
    } else if (time < dayTime * 3) {
        return {
            text: '后天',
            color: '#6EA9FF'
        }
    } else if (time < dayTime * 4) {
        return {
            text: '还有4天',
            color: '#7BD87C'
        }
    } else if (time < dayTime * 5) {
        return {
            text: '还有5天',
            color: '#7BD87C'
        }
    } else if (time < dayTime * 6) {
        return {
            text: '还有6天',
            color: '#7BD87C'
        }
    } else {
        return {
            text: '还有一周',
            color: '#7BD87C'
        }
    }
}